package jvm;

import java.lang.String;

/**
 * Created by Robo on 2021/7/18.
 */
public class TestString {

    public static void main(String[] args) {
        String a = "111";
        String b = "111";
        String c = new String("111").intern();

        int i = 5_000;
        int i2 = 5000;
        System.out.println(a == b);
        System.out.println(a == c);
        System.out.println(i == i2);
    }
}
